encryptFile(Stream,String,Stream,PDFSecurityHandler,boolean) Method
In This Topic
Encrypts the PDF file given in input stream and saves the encrypted file to output stream.
Syntax
Parameters
- input
- Stream containing the input PDF file.
- inputPassword
- Password for the input file if it is encrypted, othewise null.
- output
- Stream for storing the encrypted PDF file.
- securityHandler
- The security handler used for encryption.
- enableObjectCompression
- If true then the internal structure of the output PDF file is compressed.
See Also